home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Georgia Wildfire Prevention
/
Georgia Wildfire Prevention.iso
/
pc
/
media
/
dirs
/
BackUp
/
Guide.dir
/
00014_Script_PDF Behavior
< prev
next >
Wrap
Text File
|
2001-06-05
|
466b
|
23 lines
property SpNum, MyPath, OrigDelimiter, RTN
on new me
SpNum = me.spritenum
OrigDelimiter = the itemdelimiter
end
on loadpdf me
MyPath = the moviepath
If the machinetype = 256 then
the itemdelimiter = "\"
else
the itemdelimiter = ":"
end if
RTN = the itemdelimiter
MyPath = MyPath.item[1]
MyPath = MyPath&RTN&"media"&RTN&"pdf"&RTN&"guide.pdf"
the itemdelimiter = OrigDelimiter
PDF_Open(Sprite SpNum, MyPath)
end